package com.link.base.base.crowd.service;

import com.link.base.base.crowd.model.CrowdAccntDet;
import com.link.core.basic.service.BasicService;

import java.util.List;

/**
 * 人群消费者明细表- 
 *
 * @author 张宇浩
 * @date 2019/06/01 15:30
 */
public interface CrowdAccntDetService extends BasicService<CrowdAccntDet> {

    /**
     * 根据A类用户,查询得到满足要求的C类用户，并记录
     *
     * @author zhangyuhao
     * @date 2019/06/01 15:55
     * @param crowdAccntDet A类用户
     * @param type openid或者phone
     */
    List<CrowdAccntDet> queryAllAccountByTypeA(CrowdAccntDet crowdAccntDet, String type) throws Exception;

    List<String> exportByCrowd(Long crowdId, String openidFlag, String phoneFlag) throws Exception;
}
